<template>
  <div class="scroll-container">
    <router-view></router-view>
  </div>
  <a-back-top />
</template>

<script>

export default {
  name: 'App',
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 0px;
}

.scroll-container {
  overflow: hidden auto; /* 默认隐藏滚动条 */
  width: 100%;
  position: absolute;
}

::-webkit-scrollbar-track {
  background-color: #fff;
}

*::-webkit-scrollbar {
  background-color: #b2b5c2;
  height: 0;
  width: 8px;
}

*::-webkit-scrollbar-thumb {
  background: #bcc9d7;
  border-radius: 4px;
  height: 0;
  width: 0;
}

</style>
